<!-- BEGIN PAGE HEADER-->   
<div class="row-fluid">
   <div class="span12">
	   <!-- BEGIN THEME CUSTOMIZER-->
	   <div id="theme-change" class="hidden-phone">
		   <i class="icon-cogs"></i>
			<span class="settings">
				<span class="text">Theme:</span>
				<span class="colors">
					<span class="color-default" data-style="default"></span>
					<span class="color-gray" data-style="gray"></span>
					<span class="color-purple" data-style="purple"></span>
					<span class="color-navy-blue" data-style="navy-blue"></span>
				</span>
			</span>
	   </div>
	   <!-- END THEME CUSTOMIZER-->
	  <!-- BEGIN PAGE TITLE & BREADCRUMB-->
	   <h3 class="page-title">
		 Dashboard
		 <small>admin</small>
	  </h3>
	   <ul class="breadcrumb">
		   <li>
			   <a href="#"><i class="icon-home"></i></a><span class="divider">&nbsp;</span>
		   </li>
		   <li>
			   <a href="#">Dashboard</a> <span class="divider">&nbsp;</span>
		   </li>	
		   <li>
			   <a href="#">Bài viết</a> <span class="divider-last">&nbsp;</span>
		   </li>		   
	   </ul>
	   <!-- END PAGE TITLE & BREADCRUMB-->
   </div>
</div>
<!-- END PAGE HEADER-->
<div class="row-fluid">
   <div class="span12">
   	  <?php
   	  	if($this->request->is('post')) 
   	  		echo $this->Session->flash(); 
  	  ?>
      <!-- BEGIN SAMPLE FORM widget-->   
      <div class="widget">
         <div class="widget-title">
            <h4><i class="icon-reorder"></i>Sample Form</h4>
            <span class="tools">
               <a href="javascript:;" class="icon-chevron-down"></a>
               <a href="javascript:;" class="icon-remove"></a>
            </span>
         </div>
         <div class="widget-body form">
            <!-- BEGIN FORM-->
            <?php
				echo $this->Form->create('BaiViet', array(
						'inputDefaults'=>array(
							'div' => false,
							'label' => false
						)
					));
			?>
			<div class="control-group">
				<label class="control-label">Title</label>
				<div class="controls">
					<?php echo $this->Form->input('title',array('placeholder'=>'Title','class'=>'span6 popovers','data-trigger'=>'hover','data-content'=>'Điền thông tin tên bài viết','data-original-title'=>'Thông tin')); ?>					
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">Body</label>
				<div class="controls">
					<?php echo $this->Form->input('body',array('rows'=>'5','placeholder'=>'Content','class'=>'span6 popovers','data-trigger'=>'hover','data-content'=>'Điền thông tin nội dung bài viết','data-original-title'=>'Thông tin')); ?>					
				</div>
			</div>
			<?php
				echo $this->Form->end(array('label'=>'Save','class'=>'btn btn-success'));
			?>
            <!-- END FORM-->  
         </div>
      </div>
      <!-- END SAMPLE FORM widget-->
   </div>
</div>